import threading
import multiprocessing
class Test(threading.Thread):
     def __init__(self) :
         threading.Thread.__init__(self)

     def run(self) :
         i = 0
         while True :
            i = i + 1
            



for i in range (multiprocessing.cpu_count()):
    Test().start()
    print "dem : ",i
